package com.web.exiaodao.remote.vo;

import com.web.exiaodao.business.constant.JConstant;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @author eason.zt
 * @ClassName: ShareRecordTableVo
 * @Description:分享表 Vo
 * @date 2015年3月23日 下午1:00:00
 */
@ApiModel(value = "分享表Vo对象")
public class ShareRecordTableVo {

    @ApiModelProperty(value = "主键，自动增长")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "用户,用户")
    private Long userId;
    /**
     * 参见 {@link JConstant.Search_Share_FavType}
     */
    @ApiModelProperty(value = "类型（2机构;22住;3商城;4玩;42:作者;游学5;服务公共1;12:家政护理; 13:医疗服务|医疗康复; 14:护理培训|培训义工 15:义工中心 ")
    private Integer shareType;
    @ApiModelProperty(value = "分享的对象id,分享的对象id")
    private Long shareObjectId;
    /**
     * 参见 {@link com.web.exiaodao.business.constant.JConstant.SharePlatformType}
     */
    @ApiModelProperty(value = "分享平台(1:微信 2：微博 3:微信朋友圈)")
    private Long sharePlatform;

    @ApiModelProperty(value = "分享名称,分享名称")
    private String shareName;
    @ApiModelProperty(value = "分享的图片(单张),分享图片地址")
    private String shareUrl;

    public ShareRecordTableVo() {
        super();
    }

    public ShareRecordTableVo(String createTime, Long userId, Integer share_Type, Long share_ObjectId, Long share_platform, String share_Name) {
        this.createTime = createTime;
        this.userId = userId;
        this.shareType = share_Type;
        this.shareObjectId = share_ObjectId;
        this.sharePlatform = share_platform;
        this.shareName = share_Name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getShareType() {
        return shareType;
    }

    public void setShareType(Integer shareType) {
        this.shareType = shareType;
    }

    public Long getShareObjectId() {
        return shareObjectId;
    }

    public void setShareObjectId(Long shareObjectId) {
        this.shareObjectId = shareObjectId;
    }

    public Long getSharePlatform() {
        return sharePlatform;
    }

    public void setSharePlatform(Long sharePlatform) {
        this.sharePlatform = sharePlatform;
    }

    public String getShareName() {
        return shareName;
    }

    public void setShareName(String shareName) {
        this.shareName = shareName;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }
}

